<!--
 * @Description: 应用更新 
 * @Author: 马山
 * @Date: 2020-03-09 15:36:26
 * @LastEditTime: 2020-03-19 12:56:05
 * @LastEditors: 马山
 -->
<template>
    <el-dialog title="应用更新" :visible="isShow" @close="$emit('close')">
        应用更新弹框
    </el-dialog>

    <UploadDialog 
    :isShow="isShowUploadDialog" 
    :fileType="fileType" 
    :uploadUrl="uploadUrl" 
    @close="showUploadDialog" 
    @uploadSuccess="uploadSuccess">
    </UploadDialog>

</template>

<script>

import LocalUploadMixins from "@/mixins/localUpload.js"
import UploadDialog from "@/components/uploadDialog.vue"

export default {
    name: "update",
    mixins: [
        LocalUploadMixins
    ],
    props: [
        'isShow'
    ],
    components: {
        UploadDialog
    },
    computed: {},
    data: () => ({
        fileType: ["syz", "clnm","xlsx"],
        uploadUrl:"",
        fileList:""

    }),
    created() {
        
    },
    mounted() {
        this.appClick();
    },
    watch: {

    },
    methods: {
        appClick() {
            console.log("appclick")
            this.showUploadDialog(true)
        },
    }
};
</script>

<style lang="scss" scoped></style>